<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>url标签使用</title>
</head>
<body>
<a href="{% url 'baidu' %}">百度一下</a>
<a href="{% url 'book_detail' book_id=2 %}">图书</a>
</body>
</html>